package cn.tedu.kcircle.category.dao.entiry;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("category")
public class CategoryDO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Long parentId;
    private Integer depth;
    private Integer sort;
    private String keywords;
    private String icon;
    private Integer enable;
    private Integer isParent;
    private Integer isDisplay;
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;
}
